import Fluent
import Vapor

func routes(_ app: Application) throws {
//    app.get { req in
//        return "It works!"
//    }

    let apiV1 = app.grouped(Api.V1.group)
    try apiV1.register(collection: BlogController())
}
